<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@ page import="net.jdiy.core.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>JDiy-2.1</title>
<link href="../JDiy_bin/img/public.css" rel="stylesheet" type="text/css" />
<link href="../JDiy_bin/skins/white/css_right.css" rel="stylesheet" type="text/css" />
<link rel="Bookmark" href="../JDiy_bin/img/favicon.ico" /><link rel="Shortcut Icon" href="../JDiy_bin/img/favicon.ico" />
<script type="text/ecmascript" src="../JDiy_bin/js/class/JSer.js"></script>
<script type="text/javascript" src="../JDiy_bin/js/class/jc.js"></script>
<script type="text/javascript" src="../JDiy_bin/js/evt/ee.js"></script>
<script type="text/ecmascript" src="../JDiy_bin/js/class/md5.js"></script>
<script type="text/ecmascript" src="../JDiy_bin/js/class/JSer.select.js"></script>
<script type="text/javascript">jde_root='/jdiy/JDiy_bin/jde/';jde_upp='/jdiy/jdiy-admin/~.jd?~=';</script>
<script type="text/ecmascript" src="../JDiy_bin/jde/editor_config.js"></script>
<script type="text/ecmascript" src="../JDiy_bin/jde/editor_all_min.js"></script>
<script type="text/ecmascript" src="../JDiy_bin/js/my97/WdatePicker.js"></script>
<script type="text/ecmascript" src="../JDiy_bin/js/evt/in.js"></script>

<style type="text/css">
.fd th{text-align:center;}
.fd td{background-color:white;}
.fd select{width:110px;height:100px;}
.mbtn{width:32px;}
.ztin{width:68px;}
.password{width:88px;}
.chn {font-weight: bold;margin-top: 10px;}
.mm {color: #003366;padding-left: 27px;}
.nob td{border-bottom:none!important;border-right:none!important;}
.JSer-Keditor{width:100%;height:300px;}</style>
</head><body>

<table border="0" cellpadding="0" cellspacing="0" class="Max">
<tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="cTit">
<tr><td class="L">&nbsp;</td>
<td class="C">:::::: 
后端用户添加 ::::::</td>
<td class="R">&nbsp;</td>
</tr></table></td></tr><tr><td><form action="~.jd?~=doSave@Update&_=0.9635645120063377" method="post" id="zltForm" name="zltForm" enctype="multipart/form-data">
<table width="100%" border="0" cellpadding="3" cellspacing="0" class="TB">
<tr class="C"><th nowrap="nowrap">用户角色：</th><td colspan="3">



<select name="tid" id="tid">
<option value="">==请选择==</option>
<option value="y0hgxbc4fb">前端</option>

<option value="z0000000s5">超级管理员</option>

<option value="y0hgykchli">ts</option>

<option value="y0gv65ljev">角色示例</option>

<option value="y0hgsy0peq">test</option>

</select></td></tr>

<tr class="C"><th nowrap="nowrap" width="8%">所属组织：</th><td>
<select name="t10" id="t10" ><option value="">==请选择==</option>
<option value="y0hgolz6i8">　 汇水丰天软件公司</option>
<option value="y0hgonajyv">　 　 格利菲公司</option>
<option value="y0hgonat8e">　 　 　 一吾一适</option>
</select>

<span class="txtC">  </span>
</td><th nowrap="nowrap" width="8%">登录账号：</th><td>
<input name="t0" id="t0" type="text" maxlength="127" class="in" value=""  />

<span class="txtC">  </span>
</td></tr>

<tr class="C"><th nowrap="nowrap" width="8%">登录密码：</th><td>
<input name="t1" id="t1" maxlength="30" type="password" class="in password" value=""  /> 确认：
<input name="t1_conf" id="t1_s" maxlength="30" type="password" class="in password" value=""  />
<span class="txtC">  </span>
</td><th nowrap="nowrap" width="8%">真实姓名：</th><td>
<input name="t2" id="t2" type="text" maxlength="127" class="in" value=""  />

<span class="txtC">  </span>
</td></tr>

<tr class="C"><th nowrap="nowrap" width="8%">性别：</th><td>
<input name="t3" id="t3" value="" type="hidden" />
<nobr><label style="cursor:pointer"><input style="border:none" name="t3_s" value="男" type="radio">男</label></nobr>　
<nobr><label style="cursor:pointer"><input style="border:none" name="t3_s" value="女" type="radio">女</label></nobr>　
<nobr><label style="cursor:pointer"><input style="border:none" name="t3_s" value="保密" type="radio">保密</label></nobr>　


<span class="txtC">  </span>
</td><th nowrap="nowrap" width="8%">年龄：</th><td>
<input name="t4" id="t4" type="text" maxlength="127" class="in" value="99"  />

<span class="txtC">  </span>
</td></tr>

<tr class="C"><th nowrap="nowrap" width="8%">电子邮件：</th><td>
<input name="t5" id="t5" type="text" maxlength="127" class="in" value=""  />

<span class="txtC">  </span>
</td><th nowrap="nowrap" width="8%">手机号码：</th><td>
<input name="t6" id="t6" type="text" maxlength="127" class="in" value=""  />

<span class="txtC">  </span>
</td></tr>

<tr class="C"><th nowrap="nowrap" width="8%">电话号码：</th><td>
<input name="t7" id="t7" type="text" maxlength="127" class="in" value=""  />

<span class="txtC">  </span>
</td><td>&nbsp;</td><td>&nbsp;</td></tr><tr class="C"><th nowrap="nowrap" width="8%">联系地址：</th><td colspan="3">
<input name="t8" id="t8" type="text" maxlength="127" class="in" value="" style="width:400px" />

<span class="txtC">  </span>
</td></tr>

<tr class="C"><th nowrap="nowrap" width="8%">邮编：</th><td colspan="3">
<input name="t9" id="t9" type="text" maxlength="127" class="in" value=""  />

<span class="txtC">  </span>
</td></tr>

<tr class="C"><th>&nbsp;</th><td colspan="3"><div id="upControl"><input id="btnOk" type="submit" class="btn" value=" 确 定 添 加 " />　<input id="btnReset" type="button" class="btn" value=" 重置 " href="" /></div><div style="display:none;padding:2px;margin:3px;" class="txtA" id="upLoading">请稍等，正在向服务器提交数据......

<div id="loadingBar" style="display:none"><table><tr><td><table cellpadding="0" cellspacing="1" border="0" style="border:1px #000 solid;background-color:#eee;width:304px;font-size:0px;line-height:0px;"><tr><td style="padding:0px;"><img id="upProcessBar" src="../JDiy_bin/img/pst.gif" style="margin:0px;border:0px;height:12px;width:1px;" align="absmiddle;"></td></tr></table></td><td style="font-weight:bold;color:#03f" id="upPercent">0%</td></tr></table><span id="upByteInfo" style="color:#03f">&nbsp;</span></div>

<div style="font-weight:bold;">请不要刷新或跳转到其它页面！</div>
</div>
<input type="hidden" name="isc" id="isc" value="0" />
<input name="sort" id="sort" value="100" type="hidden" />

<input name="__JDiy_Table__" id="__JDiy_Table__" type="hidden" value="a3150db666dbb605e285ad83d874b27c" />
<input name="__JDiy_Pk__" id="__JDiy_Pk__" type="hidden" value="510b4510b734f5c50b5be54b650fb8a8" />
<input name="__JDiy_Id__" id="__JDiy_Id__" type="hidden" value="f642da75028fdbb6ac0cc96701a4132e" />
<input name="__JDiy_Ref__" id="__JDiy_Ref__" type="hidden" value="8c1f2ac0911b1f454c29987e464d16c0434f53a7421b296e14c542f9a8e0a855" />
<input name="__JDiy_Sign__" id="__JDiy_Sign__" type="hidden" value="09FC6AF37B6214FF5687EBCC9D3E95AF" />
<input name="__JDiy_Jump__" id="__JDiy_Jump__" type="hidden" value="" />
<script type="text/ecmascript">document.getElementById("__JDiy_Jump__").value=document.location.href;</script>
<input name="dt1" id="dt1" value="2013-05-21 14:12:30" type="hidden" />
<input name="dt2" id="dt2" value="2013-05-21 14:12:30" type="hidden" />

</td></tr></table></form></td></tr><tr><td><script type="text/ecmascript">
var isNoRepeat=true;
JSer.exec(function(){
JSer("#zltForm").submit(function(){
   var fm=new jc.Form(this);
   if(fm.isNull('tid','未指定『用户角色』'))return false;
   fm.setDef('sort',100);
   if(!fm.isInt('sort','排序索引必须是一个不小于０的整数数字')) return false;
try{

if(fm.isNull("t0","用户名不能为空")) return false;

if(fm.isNull('t1','登录密码不能为空'))return false;
if(this.t1.value.length<6){alert('登录密码长度不得小于6位.');this.t1.focus();return false;}
if(this.t1.value!=this.t1_s.value){alert('对不起, 登录密码两次输入不一致！');this.t1_s.focus();
;return false;
}


if(!fm.isInt("t4",'请输入正确的年龄',10,100)) return false;






if(fm.isRepeat({by:'tid', root:''})) return false;
}catch(e){
alert('对不起,脚本验证出错,请联系开发人员解决此问题！\r\n错误信息：'+e);return false;
}
showLoadingBar();JSer('#upControl').hide();JSer('#upLoading').show();
if(this.t1.value.length!=32)this.t1.value=this.t1.value.MD5(32);
});
JSer("input[@name=t3_s]").click(function(){JSer('#t3').val(this.value);});

});
</script></td></tr></table><br /><div style="text-align:center;font-size:10px">Copyright&copy; <strong style="color:#040;cursor:pointer" onclick="parent.JD_Dialog({tit:'关于...',width:444,height:260,href:'~.jd?~=about@Base'});" title="关于 JDiy"><i>JDiy-2.1</i></strong></div>
</body></html>


<!--**********************************************************************

                      ★ JDiy建站平台 ★　

　版权所有：　                                        
　              JDiy网页编程技术站 http://jdiy.net 
                 ====================================
　CopyRight (C)
                                                          
 【全程开发】：  郑连涛（网上昵称：子秋、Folier   QQ:39886616）

***********************************************************************-->
